package com.api.syh56.shengyunhui.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.DefaultValue;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;

/**
 * 货主
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("shiper")
public class Shiper {
    @Column(name = "id",isKey = true,isAutoIncrement = true,comment = "货主id")
    Long id;

//    @Column(name = "business_number",comment = "营业执照号码")
//    private String businessNumber;



    @Column(name = "score",comment = "货主评分")
    private Integer score;

    @Column(name = "ship_quantity",comment = "发货数量")
    private BigDecimal shipQuantity;

    @Column(name = "trading_capacity",comment = "交易量")
    private BigDecimal tradingCapacity;

    @Column(name = "uid",comment = "用户表id")
    Long uid;

    @TableLogic
    @Column(name = "is_deleted")
    @DefaultValue("false")
    private Boolean isDeleted;
}
